/*
 * File         : cym_irq.c
 * Version      : 0.1.0
 * Author       : Vincent Cheung
 * Date         : Sept. 27, 2013
 * Description  : All the operation of interrupt.
 *
 * Copyright (C) 2013, CYM Co., Ltd.
 *
 * Change Logs  :
 * Date                 Author          Notes
 * Sept. 27, 2013       Vincent         first version
 * Nov. 05, 2013        Vincent         change EI() and DI() to global function
 *
 */

#include "cym_config.h"
#include "cym_irq.h"

/**
 * @addtogroup Kernel
 */

/*@{*/

/**
 * This function is used to enable interrupt.
 */
void cym_interrupt_enable(void)
{
	CYM_ENABLE_INTERRUPT();
}

/**
 * This function is used to disable interrupt
 */
void cym_interrupt_disable(void)
{
	CYM_DISABLE_INTERRUPT();
}

/*@}*/
